//
//  UIFaactory.m
//  Weibo
//
//  Created by taoshanchang on 15/1/26.
//  Copyright (c) 2015年 taoshanchang. All rights reserved.
//

#import "UIFaactory.h"

@implementation UIFaactory

+(ThemeButton *)createButton:(NSString *)imageName hightlighted:(NSString *)hightlightedName{
    
    ThemeButton *themeButton = [[ThemeButton alloc] initWithImage:imageName heighlighted:hightlightedName];
    return themeButton;
    
}
+(ThemeButton *)createButtonWithBackground:(NSString *)backImageName backHightlighted:(NSString *)backHightlightedName{
    ThemeButton *themeButton = [[ThemeButton alloc] initWithBackgroundImage:backImageName heighlighted:backHightlightedName];
    return themeButton;
    
}

+(ThemeImageView *)createImageView:(NSString *)imageName{
    ThemeImageView *themeImageView = [[ThemeImageView alloc] initWithImageName:imageName];
    
    return themeImageView;
}

+(ThemeLabel *)createLabel:(NSString *)colorName{
    ThemeLabel *label = [[ThemeLabel alloc] initWithColorName:colorName];
    return label;
}

@end
